package com.example.demo.Entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

@Entity
@Data
public class ShopUser {
    @Id
    private String userID;
    private String username;
    private String userPassword;
    private String email;
    private String userSignature;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date unlockDate = null;
    private boolean isAdmin = false;
    private String address = "";
    private String pictureBase="";
}
